package com.yyj.constant;

/**
 * 返回值常量
 * 
 *
 */
public class ReturnCode {
    static final public int NORMAL_SUCCESS = 1; // 成功
    static final public int UN_LOGIN = 0; // 未登录
    static final public int NORMAL_ERROR = -1; // 失败

    static final public int THIS_IS_A_SUB = -100; // 未实现的接口
    static final public int SIGN_ERROR = -9998; // 验签失败
    /**交易服务TOKEN失效*/
    static final public int TOKEN_INVALID = -9999; // TOKEN失效
    static final public int UN_AUTHORIZATION = -10000;// 未授权(交易账号未授权)
    
    static final public String RECHARGE_CODE_SUCCESS = "20200";// 出入金服务成功返回编码

    /**登录密码错误*/
    static final public int WRONG_PASSWORD = -10427;
    
    /**用户未实名*/
    static final public int NO_CERTIFICATION = -10421;
    
    /**手机号没注册*/
    static final public int NO_REGISTER = -10414;
    
    /**用户服务TOKEN失效*/
    static final public int USER_TOKEN_INVALID = -10416; // 用户服务TOKEN失效
    
    /**用户登录已冻结*/
    static final public int USER_FROZEN = -10550; 

    
    
    //----------------前端返回状态码-----------
    
    /**手机号已注册*/
    static final public int IS_REGISTER = -91100;
    
    /**账户正在审核中，一分钟后即可登录*/
    static final public int ACCOUNT_PENDING = -91001;

}
